#!/bin/bash
#source env
source /etc/default/wmao

sudo /etc/init.d/tomcat stop
rm  -rf /home/cdd/tomcat/webapps/*
rm  -rf /home/cdd/tomcat/logs/*
cd /opt/program/clearance
git pull origin master
mvn clean package -Pprod -Dmaven.test.skip=true
java -jar target/guns.jar 
